package hottargui.domain.beta;

import hottargui.domain.*;

public class BetaAfterDieRollActionStrategyImpl implements AfterDieRollActionStrategy {

	private StateMachine _sm;


	public BetaAfterDieRollActionStrategyImpl(StateMachine sm) {
		_sm = sm;
	}

	public boolean doFollowUpOnRollAction(int diceFaceValue) {
		if (_sm.getState() == State.attack){
			_sm.attack();
			return true;
		}	
		if (_sm.getState() == State.defend){
			_sm.defend();
			return true;
		}
		return false;
	}

	public DeckOfCards getDeckOfCards() {
		return null;
	}

}
